package com.zbkj.front.config;


import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;


/**
 * 微信支付公相关配置
 */

@Data
@Component
@ConfigurationProperties(prefix = "pay.wx")
public class WechatPayConfig {

    private String appid;
    private String mchId;
    private String serialNo; // 证书序列号
    private String apiV3Key; // APIv3密钥
    private String privateKeyPath; // 私钥文件路径
    private String certificatePath; // 证书文件路径

    private String publicKeyPath;
    private String publicKey;
    private String notifyUrl;//支付回调地址

}
